<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/18
 * Time: 10:35
 */

namespace app\api\model;


class GoodsSpec extends BaseModel
{
    protected $hidden = ['model_id','create_time','update_time'];
    public function item()
    {
        return $this->hasMany('GoodsSpecItem','spec_id','id');
    }
}